/**
 * 配置编译环境和线上环境之间的切换
 *
 * baseUrl: 域名地址
 * routerMode: 路由模式
 * imgBaseUrl: 图片所在域名地址
 *
 */

let baseUrl = '/api';
let routerMode = 'hash';
let imgBaseUrl = '';
// let corpId = 'dingec975ef65e38d23e35c2f4657eb6378f'; // 209
// let corpId = 'dingf0d138edf73418c635c2f4657eb6378f'; // ehrtest
let corpId = 'ding2974a010738f71a935c2f4657eb6378f'; // ehr正式

if (process.env.NODE_ENV == 'development') {
    imgBaseUrl = '/img/';
	// baseUrl = 'http://localhost:9001/eHR';
// 	baseUrl = 'http://39.102.75.209/eHR';
	
}else if(process.env.NODE_ENV == 'production'){
	 // baseUrl = 'http://baidu.timelyrain.pub:8085/eHR';
	 // baseUrl = 'http://www.chengzhenguanli.com:8080/eHR';
	 // baseUrl = 'http://39.102.75.209/eHR';
	 // baseUrl = 'https://ehrtest.ztjwygs.com/eHR';
	 baseUrl = 'https://ehr.ztjwygs.com/eHR';
    imgBaseUrl = '';
}

export {
	baseUrl,
	routerMode,
	imgBaseUrl,
	corpId
}
